module.exports = function($scope, $state, $stateParams, $modalInstance,$resource,$modal,toaster, item, flag){
    $scope.obj = item;
    console.log($scope.obj);
    $scope.array = $scope.obj.apply_content.split(',');
    console.log($scope.obj.apply_content.split(','));
    $scope.back = function () {
        $modalInstance.close();
    }
}
  